﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true"
    CodeBehind="admin_file.aspx.cs" Inherits="Lawyer.Web.Admin.admin_file" Title="Legal Firm Management System V1.0" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainContent" runat="server">
    <div class="main-content">
        <header>
                            <h2>File</h2>
                        </header>
        <section class="container_6 clearfix">
                            <div class="grid_6"> 
                            <asp:GridView CssClass="display" ID="fileList" runat="server" 
                                    AutoGenerateColumns="False" DataKeyNames="FileID" 
                                    onpageindexchanging="fileList_PageIndexChanging" 
                                    onrowdatabound="fileList_RowDataBound">
                                <Columns>
                                    <asp:BoundField DataField="FileID" HeaderText="File ID" Visible ="false" />
                                    <asp:HyperLinkField DataNavigateUrlFields="FileURL" DataTextField="FileName" 
                                        HeaderText="File Name" />
                                    <asp:BoundField DataField="LawyerID" HeaderText="Lawyer ID" Visible = "false" />
                                    <asp:BoundField DataField="ArchiveID" HeaderText="Archive ID" Visible = "false" />
                                    <asp:BoundField DataField="CreatedDate" HeaderText="Create Date" />
                                    <asp:HyperLinkField HeaderText="Details"  ItemStyle-CssClass="zoombox"
                                        DataNavigateUrlFields="FileID" DataNavigateUrlFormatString="admin_fileshow.aspx?id={0}" Text="Details"  >
                                    </asp:HyperLinkField> 
                                    
                                </Columns>
                                </asp:GridView>
                                
                            </div> 
			
                            <div class="grid_6">
                                <div class="ui-widget message">
                                    <div class="ui-state-highlight ui-corner-all">
                                     <asp:Button CssClass="button" ID="btnDelete" runat="server" Text="Delete" 
                                            onclick="btnDelete_Click"></asp:Button>
                                    </div>
                                </div>
                            </div>
                       
                        </section>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="SideBar" runat="server">
    <nav>
    <a class="chevron" href="#">&raquo;</a>
    <ul>
        <li class="current"><a href="admin_file.aspx">Files Manager</a></li>
    </ul>
</nav>
</asp:Content>
